package com.punch.punchtable.service;

import com.punch.punchtable.entity.Attendance;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.List;

public interface AttendanceService {

    Page<Attendance> findByPage(Example<Attendance> example, Pageable pageable);

    List<String> findDept();

    List<Attendance> findAll(Example<Attendance> example);

//    @Scheduled(cron = "0 0 1 * * ?")
//    String findAllByRole();
}
